import { defineStore } from "pinia";
import { ref } from "vue";
const useResultstore=defineStore("result",()=>{
    let result=ref(1);
    let BigResult=ref(result.value*100);
    function multiply(val: number){
        result.value*=val;
        BigResult.value=result.value*100;
    }
    function divide(val: number){
        result.value/=val;
        BigResult.value/=val
    }
    return {result,BigResult,multiply,divide};
})
export default useResultstore;